﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimTank
{
    public class Warrior :  BaseMob
    {
        bool innerRageActive;
        private int _rage;
        public int Rage
        {
            get
            {
                return _rage;
            }
            set
            {
                if (_rage + value > 100)
                {
                    _rage = 100;
                }
                else
                {
                    _rage = _rage + value;
                }
            } 
        }

        public Warrior(int unitid)
            : base(unitid)
        {
        }
    }
}
